package com.zhang.apiboss.service.impl;

import com.zhang.apiboss.remote.ServiceDriverUserClient;
import com.zhang.apiboss.service.DriverUserService;
import com.zhang.internalcommon.dto.Car;
import com.zhang.internalcommon.dto.DriverUser;
import com.zhang.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 类功能描述
 *
 * @author Kye
 * @date 2025-04-12
 */
@Service
public class DriverUserServiceImpl implements DriverUserService {

	@Autowired
	private ServiceDriverUserClient serviceDriverUserClient;

	@Override
	public ResponseResult addDriverUser(DriverUser driverUser) {
		return serviceDriverUserClient.addUser(driverUser);
	}

	@Override
	public ResponseResult updateDriverUser(DriverUser driverUser) {
		return serviceDriverUserClient.updateUser(driverUser);
	}

}
